Miles Sound System SDK 7.2a

Sound under Playstation 3

Discussion

The Miles Sound System on PS3 supports the same uncompressed PCM, IMA ADPCM, MP3, and Ogg Vorbis digital sound formats that we support on our other platforms.

Miles talks to the libAudio library for its sound output. It does all mixing internally (on the PPU now, but on an SPU in an upcoming version). Miles has full multi-channel output support on the PS3 (up to 7.1), but it's a little tricky to get this working on the hardware side. You need the exact right kind of amplifier combined with the right HDMI TV, with the right system configuration. We expect this to get better in the future.

To configure the hardware correctly on the PS3-side, you should first run the system HUD to select the output you'd like (this is what your end-users do). Then, at runtime, you query the system to find out what mode the user requested, and then call cellAudioOutConfigure to actually put the hardware into that mode. Finally, you call cellAudioInit to start libAudio, and then start up Miles normally! See the MilesPS3.cpp file for an example of all of this.

In the meantime, you should run the system settings utility (we use the dtpon.exe utility) to set up the hardware, and then tell Miles to run in 6 or 8 channel mode. In some cases, you will still only get stereo output, but the hardware will eventually do all of this correctly. Miles on PS3 supports stereo, 5.1 discrete and 7.1 discrete output.

Miles uses its built-in DLS synthesizer for all MIDI playback. This has the advantage of allowing you to author custom DLS instrument sets to optimize memory use.

Next Topic (Memory management under PlayStation 3)

Previous Topic (Distributing Miles with PlayStation 3 Applications)


Group: Overview for Sony PlayStation 3

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.